<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <!-- 引入方式1 -->
    <!-- <button onclick="alert('hello word')">点我1</button> -->

    <!-- 引入方式2 -->
    <!-- <button>点我2</button> -->
    <!-- <script>
      document.querySelector("button").onclick = () => {
        alert("hello itheima");
      };
    </script> -->

    <!-- 引入方式3 -->
    <button>点我3</button>
    <script src="./script/test.js"></script>
  </body>
</html>
